package org.jeecg.modules.meter.vo;

import java.util.List;
import org.jeecg.modules.meter.entity.MeterFeeItem;
import org.jeecg.modules.meter.entity.MeterFeeItemSub;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

/**
 * @Description: 仪表收费标准
 * @Author: jeecg-boot
 * @Date:   2019-12-12
 * @Version: V1.0
 */
@Data
public class MeterFeeItemPage {
	
	/**id*/
	private String id;
	/**租户id*/
  	@Excel(name = "租户id", width = 15)
	private Integer tenantId;
	/**projectId*/
  	@Excel(name = "projectId", width = 15)
	private String projectId;
	/**一级分类*/
  	@Excel(name = "一级分类", width = 15)
	private String category;
	/**表类型*/
  	@Excel(name = "表类型", width = 15)
	private String meterType;
	/**单价*/
  	@Excel(name = "单价", width = 15)
	private String price;
	/**精确度*/
  	@Excel(name = "精确度", width = 15)
	private Integer scale;
	/**是否需要合并到物业收费里  0:不需要  1:需要*/
  	@Excel(name = "是否需要合并到物业收费里  0:不需要  1:需要", width = 15)
	private String mergeFlg;
	/**创建者*/
  	@Excel(name = "创建者", width = 15)
	private String createBy;
	/**创建时间*/
  	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**更新者*/
  	@Excel(name = "更新者", width = 15)
	private String updateBy;
	/**更新时间*/
  	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	/**删除标志*/
  	@Excel(name = "删除标志", width = 15)
	private String delFlag;
	/**备注信息*/
  	@Excel(name = "备注信息", width = 15)
	private String remarks;
	
	@ExcelCollection(name="仪表收费标准明细表")
	private List<MeterFeeItemSub> meterFeeItemSubList;
	
}
